/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Tabla;

/**
 *
 * @author Alex
 */
public class TipoRef extends DescTipo{
     private String idRef;
     private DescTipo tipoDes;

     public TipoRef(String idRef,String nombre, DescTipo t){
         super(tipo.REF,t.getTamaño(),nombre);
         this.idRef=idRef;
         this.tipoDes=t;
     }

   
    @Override
    public tipo getTipo() {
        return this.t;
    }

    @Override
    public int getTamaño() {
        return this.tam;
    }

    @Override
    public String getNombre() {
        return nombre;
    }
    public DescTipo getDesc(){
        return this.tipoDes;
    }
}
